package com.flower.enjoyment.flower.entityDo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(value="商铺对象")
public class ShopInfoDo {
    @ApiModelProperty(value="ID")
    private String id;
    @ApiModelProperty(value="商铺图片路径")
    private String shopImg;
    @ApiModelProperty(value="商铺名称")
    private String shopName;
    @ApiModelProperty(value="具体地址")
    private String shopAddress;

    private String shopLon;

    private String shopLat;
    @ApiModelProperty(value="微信支付是否有折扣，0没有折扣，1有折扣")
    private Integer isdiscount;
    @ApiModelProperty(value="折扣")
    private Double discount;
    @ApiModelProperty(value="星级")
    private Double star;
    @ApiModelProperty(value="营业开始时间")
    private String businessHoursStart;
    @ApiModelProperty(value="营业结束时间")
    private String businessHoursEnd;
    @ApiModelProperty(value="审核，0未审核，1已审核,2审核未通过")
    private Integer checked;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value="审核时间")
    private Date checkTime;
    @ApiModelProperty(value="是否推荐，0不推荐，1推荐")
    private Integer iscommend;
    @ApiModelProperty(value="门店图片列表")
    List<ShopImgDo> shopImgDoList;
    @ApiModelProperty(value="花享卡是否有折扣，0没有折扣，1有折扣")
    private Integer isCardDiscount;
    @ApiModelProperty(value="花享卡折扣")
    private Double cardDiscount;
    @ApiModelProperty(value="是否可评价，0不可评价，1可评价")
    private Integer isAssess;
    @ApiModelProperty(value="姓名")
    private String userName;
    @ApiModelProperty(value="电话")
    private String phone;

    private String userId;
}